//===============================================================================
//	CTitleList
//	返回称号列表协议
//===============================================================================

#pragma once

#include "BaseMessage.h"
#include "TitleSystem.h"


class CTitleList
	: public BaseMessage
{
public:
	CTitleList(uint32_t uid, uint32_t pn);
	~CTitleList();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{ 
		return new CTitleList(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetTitleListData(TitleSystem* titleData);
};